{template 'common/header'}
<script src="/addons/hc_pdd/template/js/color.js"></script>
<ul class="nav nav-tabs">
	<li><a href="{php echo $this->createWebUrl('setting')}">基础设置</a></li>
	<li><a href="{php echo $this->createWebUrl('guanzhu')}">关注设置</a></li>
	<li><a href="{php echo $this->createWebUrl('shenhe')}">审核设置</a></li>
	<li class="active"><a href="{php echo $this->createWebUrl('ad')}">流量主设置</a></li>
	<li><a href="{php echo $this->createWebUrl('poster')}">海报设置</a></li>
	<li><a href="{php echo $this->createWebUrl('message')}">模板消息</a></li>
	<li><a href="{php echo $this->createWebUrl('signin')}">签到设置</a></li>
	<li><a href="{php echo $this->createWebUrl('settime')}">定时任务</a></li>
	<li><a href="{php echo $this->createWebUrl('notice')}">公告设置</a></li>
	<li><a href="{php echo $this->createWebUrl('centerdiy')}">个人中心</a></li>
	<li><a href="{php echo $this->createWebUrl('api')}">接口设置</a></li>
	<li><a href="{php echo $this->createWebUrl('others')}">其他设置</a></li>
</ul>
<div class="clearfixcon">
	<form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="form1" style="display: block">
		<div class="panel panel-default con" id="tab3">
			<div class="panel-heading">
				流量主设置
			</div>
			<div class="panel-body">
				<div class="tab-pane active" id="tab_param2">
				        <div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">首页流量主ID</label>
							<div class="col-sm-8">
								<input type="text" name="adunit" class="form-control" value="{$info['adunit']}">								
							</div>
						</div>
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">商品详情流量主ID</label>
							<div class="col-sm-8">
								<input type="text" name="adunit2" class="form-control" value="{$info['adunit2']}">								
							</div>
						</div>
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">个人中心流量主ID</label>
							<div class="col-sm-8">
								<input type="text" name="adunit3" class="form-control" value="{$info['adunit3']}">								
							</div>
						</div> 
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">汗水日记下方流量主ID</label>
							<div class="col-sm-8">
								<input type="text" name="adunit4" class="form-control" value="{$info['adunit4']}">								
							</div>
						</div> 
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">更多商品上方流量主ID</label>
							<div class="col-sm-8">
								<input type="text" name="adunit5" class="form-control" value="{$info['adunit5']}">								
							</div>
						</div> 
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">活动页面下方流量主</label>
							<div class="col-sm-8">
								<input type="text" name="adunit6" class="form-control" value="{$info['adunit6']}">								
							</div>
						</div>                  
				</div>
			</div>
		</div>

		<div class="form-group col-sm-12">
			<input name="submit" type="submit" value="提交" class="btn btn-primary col-lg-1" {if $update_status == 1}disabled{/if}>
			<input type="hidden" name="act" value="add" />
		</div>
	</form>
</div>


{template 'common/footer'}